
#include <iostream>
#include <string>
#include "test.h"

int main()
{
    Goods goods1;
    goods1.buy(10, 12.3);
    goods1.show();
    Goods goods2 = Goods("baicai", 100, 1.2);
    goods2.show();
    Goods goods3{"huanggua", 10, 3.1};
    goods3.show();
    return 0;
}
